/**
 * Project Name:alqsoft-ms
 * File Name:ServerConfiguration.java
 * Package Name:com.alqsoft
 * Date:2016年10月18日下午2:23:13
 * Copyright (c) 2016, chenzhou1025@126.com All Rights Reserved.
 *
*/

package com.alqsoft;


/**
 * ClassName:ServerConfiguration <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2016年10月18日 下午2:23:13 <br/>
 * @author   张灿
 * @version  提供顶端接口，提供各类可配置参数的get set方法；
 * @since    JDK 1.8
 * @see 	 
 */
public interface ServerConfiguration {
	
	public static final String PKG_PREFIX = "com.alqsoft.interceptor.";

	public void setServerIp(String serverIp);
	
	public String getServerIp();
	
	public void setServerPort(int serverPort);
	
	public int getServerPort();
	
	public String getRedisIp();
	
	public void setRedisIp(String redisIp);
	
	public int getRedisPort();
	
	public void setRedisPort(int redisPort);
	
	public int getMaxIdle();
	
	public void setMaxIdle(int maxIdle);
	
	public boolean isTestOnBorrow();
	
	public void setTestOnBorrow(boolean testOnBorrow);

	public String getServerInterceptors();

	public void setServerInterceptors(String serverInterceptors);
}
